.class Lcom/waiqin365/lightapp/visit/br;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/baidu/mapapi/map/BaiduMap$OnMapLoadedCallback;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/br;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMapLoaded()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/br;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/br;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->c(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/visit/bs;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/br;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;->d(Lcom/waiqin365/lightapp/visit/SeniorVisitExecuteLocActivity;)Lcom/baidu/mapapi/map/BaiduMap;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/visit/bs;-><init>(Lcom/waiqin365/lightapp/visit/br;Lcom/baidu/mapapi/map/BaiduMap;)V

    invoke-virtual {v0}, Lcom/baidu/mapapi/overlayutil/OverlayManager;->addToMap()V

    invoke-virtual {v0}, Lcom/baidu/mapapi/overlayutil/OverlayManager;->zoomToSpan()V

    :cond_0
    return-void
.end method
